home *** CD-ROM | disk | FTP | other *** search
-
-
-
- set $5 to registry "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ClickArt Presentation Graphics.EXE" ""
-
- goto @notinstalled if equal {$5} ""
-
- run {$5}
-
- stop
- @notinstalled
-
- //only run install if user is an admin
- //check for admin
- set $4 to isadmin ""
- goto @adminerr if equal {$4} "0"
- goto @admin
- stop
- @adminerr
- message "Error" "We're sorry, you must be an administrator to run this program. Please log on as an administrator and try again."
- stop
- @admin
-
-
- @admin
- run setup.exe
- stop
-